package com.lg.concurrent.base;

/**
 *  多次执行报错
 *  private native void start0(); 内部方法会将这个变量 threadStatus 修改
 */

public class MoreRun  {
    public static void main(String[] args) {

        Sync1 sync1 = new Sync1();
        sync1.start();
        sync1.start();
        System.out.println("main out");
    }

    static class Sync1 extends Thread {
        @Override
        public void run() {
            System.out.println("runnable out");
        }
    }


}
